package grape.attend.rest.classe.mapper;

import grape.attend.rest.classe.form.ClasseListForm;
import grape.attend.service.classe.po.Classe;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.attend.rest.classe.form.ClasseCreateForm;
import grape.attend.rest.classe.form.ClasseUpdateForm;
import grape.attend.rest.classe.form.ClasseListPageForm;
import grape.attend.rest.classe.vo.ClasseVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 班次设置表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-08
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ClasseWebMapper extends WebMapper<ClasseVo, Classe> {

    Classe formToPo(ClasseCreateForm f);
    Classe formToPo(ClasseUpdateForm f);
    Classe formToPo(ClasseListPageForm f);
    Classe formToPo(ClasseListForm f);
}
